Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
credentials-context
Advanced tools
A Verifiable Credentials v1 context library for JavaScript
This project packages the DID Context from the Verifiable Credentials v1 spec for use with Node.js and web apps.
TBD
See also (related specs):
Requires Node.js 8.3+
To install via NPM:
npm install credentials-context
import credentialsContext from 'credentials-context';
// or
const credentialsContext = require('credentials-context');
// use URL in a JSON-LD context
const obj = {
"@context": [
credentialsContext.CONTEXT_URL_V1,
// ...
],
// ...
};
// get context data for a specific context
const data = credentialsContext.CONTEXT;
// ...
This package can be used with bundlers, such as webpack, in browser applications.
The library exports two properties:
constants
: A Object that maps constants to well-known context URLs. The
main constant CONTEXT_URL_V1
may be updated from time to time to the
latest context location.contexts
: A Map
that maps URLs to full context data.Note: If editing the Readme, please conform to the standard-readme specification.
Commercial support for this library is available upon request from Digital Bazaar: support@digitalbazaar.com
2.0.0 - 2019-09-20
FAQs
Credentials Context
The npm package credentials-context receives a total of 2,917 weekly downloads. As such, credentials-context popularity was classified as popular.
We found that credentials-context demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.